package com.yc.jpyy.file.dao;

import java.util.List;
import java.util.Map;

import org.springframework.dao.DataAccessException;

import com.yc.jpyy.base.dao.BaseDao;

public interface FileDao extends BaseDao{
		  
	//文件表新增
	int addFile(Map<String,Object> paramsMap) throws DataAccessException;
			
	//根据文件名查询文件
	List<Map<String,Object>> queryFileByName(Map<String,Object> paramsMap) throws DataAccessException;
			
	//删除文件表
	int deleteFile(Map<String,Object> paramsMap) throws DataAccessException;

	//修改附件信息
	int updateAnnex(Map<String,Object> paramsMap) throws DataAccessException;

}
